/* 
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package com.googlecode.hmvc4gwt.example.hmvcblog.frontend.dashboard.client.dashboard;

import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;
import com.googlecode.hmvc4gwt.client.view.AViewGwt;

/**
 * 
 * @author jens.meiss
 */
public class DashboardView extends AViewGwt {

	private Label labelTitle;

	private Hyperlink logout;

	private Hyperlink editUserData;

	private AbsolutePanel absolutePanelContainer;

	private FlexTable flexTableBlogList;

	private Label labelBloglist;

	private Hyperlink hyperlinkAddBlog;

	public AbsolutePanel getAbsolutePanelContainer() {
		return absolutePanelContainer;
	}

	public Hyperlink getEditUserData() {
		return editUserData;
	}

	public FlexTable getFlexTableBlogList() {
		return flexTableBlogList;
	}

	public Hyperlink getHyperlinkAddBlog() {
		return hyperlinkAddBlog;
	}

	public Label getLabelBloglist() {
		return labelBloglist;
	}

	public Label getLabelTitle() {
		return labelTitle;
	}

	public Hyperlink getLogout() {
		return logout;
	}

	public Widget getWidget() {
		return getAbsolutePanelContainer();
	}

	public void setAbsolutePanelContainer(AbsolutePanel absolutePanelContainer) {
		this.absolutePanelContainer = absolutePanelContainer;
	}

	public void setEditUserData(Hyperlink editUserData) {
		this.editUserData = editUserData;
	}

	public void setFlexTableBlogList(FlexTable flexTableBlogList) {
		this.flexTableBlogList = flexTableBlogList;
	}

	public void setHyperlinkAddBlog(Hyperlink hyperlinkAddBlog) {
		this.hyperlinkAddBlog = hyperlinkAddBlog;
	}

	public void setLabelBloglist(Label labelBloglist) {
		this.labelBloglist = labelBloglist;
	}

	public void setLabelTitle(Label labelTitle) {
		this.labelTitle = labelTitle;
	}

	public void setLogout(Hyperlink logout) {
		this.logout = logout;
	}

}
